package db.migration;

import net.jiastudy.core.base.BaseMigration;

public class V1_0_17__add_dept_seq extends BaseMigration {
    @Override
    public void migrate() throws Exception {
        if (!isFieldExist("dept", "seq")) {
            jdbcTemplate.update("ALTER TABLE dept ADD `seq` int unsigned DEFAULT 0 COMMENT '排序号';");
        }
    }
}